#!/Library/Frameworks/Python.framework/Versions/Current/bin/python

import wx

print wx.__path__

app = wx.PySimpleApp()f = wx.Frame(None)f.Show()app.MainLoop()ctx = wx.GraphicsContext_Create(f)
b = ctx.CreateLinearGradientBrush(0,0,100,100,wx.RED, wx.BLUE)ctx.SetBrush(b)ctx.DrawRectangle(0,0,100,100)